package me.zhengjie.modules.system.service.mapstruct;

import me.zhengjie.modules.system.service.dto.ExamResultQueryDto;
import me.zhengjie.modules.system.service.dto.ExamResultQueryTestDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface ExamResultQueryMapper {

    /**
     * 统计用户成人极速版测评首要特质数量
     * @param openIdList
     * @return
     */
    List<ExamResultQueryDto> countUserSyTeZhiCnt(@Param("openIdList") List<String> openIdList);

    ExamResultQueryTestDto querAdultTestInfo(@Param("openId") String openId);
}
